﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace BLL.Common
{
    /// <summary>
    /// 业务逻辑类mysqldata 的摘要说明。
    /// </summary>
    public class mysqldata
    {
        private readonly OracleDAL.Common.mysqldata dal = new OracleDAL.Common.mysqldata();
        /// <summary>
        /// 构造函数
        /// </summary>
        public mysqldata()
        { }


        #region 成员
        /// <summary>
        /// 调用存储过程
        /// </summary>
        /// <param name="PRODUCENAME">存储过程名称</param>
        /// <param name="PARAM">参数数组(参数名称、参数类型)</param>
        /// <param name="VALUES">值数组</param>
        /// <returns></returns>
        public DataSet GetList(string PRODUCENAME, string[,] PARAM, string[] VALUES)
        {
            return dal.GetList(PRODUCENAME, PARAM, VALUES);
        }
        /// <summary>
        /// 执行SQL语句
        /// </summary>
        /// <param name="SQLTEXT">SQL语句</param>
        /// <param name="strWhere">条件</param>
        /// <returns></returns>
        public DataSet GetList(string SQLTEXT, string strWhere)
        {
            return dal.GetList(SQLTEXT, strWhere);
        }
        #endregion
    }
}